home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q0155.dms
/
q0155.adf
/
ArpUserDocs3.1
/
Status
< prev
next >
Wrap
Text File
|
1991-04-16
|
2KB
|
67 lines
Status(V1.3) ARP User's Manual Status(V1.3)
NAME
Status - Display the currently running CLI processes.
SYNOPSIS
Status Process F=FULL/s TCB/s CLI=ALL/s COMMAND/k
DESCRIPTION
The most common use of Status is to find what background
processes are still executing, this can be in preparation to
sending them a signal with Break, or to find out if all your
programs are completed before turning off the computer. The
various options to this command display information which
may or may not be useful, depending on your needs. The
default behavior of Status is to display the CLI numbers and
names of all currently active processes. You can get
information on a specific process by typing Status <cli
number>.
You can also find out if a specific command is executing
using the COMMAND keyword. This can be useful in scripts,
since if the command is NOT found, the WARN fail level will
be set. Otherwise, a 0 fail level is returned. This is
useful with shells that support command substitution to do
things like send BREAK codes to processes.
EXAMPLE
Status FULL ; find out everything about all executing
processes.
Here is an example using command substitution that will send
a break to the process executing the ClockPtr command:
Break $(Status Command ClockPtr)
Note that the above assumes you are using ASH. You might
find it interesting to compare this example with the more
complex one given in the 1.3 Enhancer manual.
Page 1 (printed 4/28/89)